<?php
/**
 * dao basedao
 * @package app-drama_lib_dao
 */
load_lib('/dao/dao');
/**
 * dao basedao
 * @author pandajingjing
 * @package app-drama_lib_dao
 */
class dao_basedao extends dao_dao{

	/**
	 * 发送节目消息
	 * @param array $p_arrParam       	
	 */
	static function addDramaQueue($p_arrParam){
		parent::sendMsg($p_arrParam,'queue_drama');
	}
	
	/**
	 * 获取节目分辨率列表
	 * @param $p_arrParam
	 * @return array
	 */
	static function getRatioList($p_arrParam){
	    $strSQL='';
	    $arrParam=array();
	    if(isset($strSQL[0])){
	        $strSQL=substr($strSQL,0,4);
	    }
	    $objORM=parent::getORM('drama_dt_ratio','drama_db');
	    if(isset($p_arrParam['SORT'])){
	        $objORM->setOrder($p_arrParam['SORT']);
	    }
	    return $objORM->getList($strSQL,$arrParam);
	}
}